package com.ssy.lingxi.member.merchant.model.vo.platform.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 平台后台 - 会员角色权限 - 查询角色菜单关联按钮列表VO
 * @author 万宁
 * @version 2.0.0
 * @date 2022-04-15
 */
public class PlatformRoleAuthMenuVO implements Serializable {
    private static final long serialVersionUID = 3057185467980219335L;

    /**
     * 角色Id
     */
    @NotNull(message = "角色Id要大于0")
    @Positive(message = "角色Id要大于0")
    private Long roleId;

    /**
     * 菜单Id
     */
    @NotNull(message = "权限菜单Id要大于0")
    @Positive(message = "权限菜单Id要大于0")
    private Long menuId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }
}
